package ooday04;

public class Chick1 extends Animal1{
    Chick1(String name1,int age1,String color1){
        super(name1,age1,color1);
    }
    void layEggs(){
        System.out.println(color1+"色的"+age1+"岁的母鸡"+name1+"正在下蛋!");
    }
    void eat(){
        System.out.println(color1+"色的"+age1+"岁的母鸡"+name1+"正在吃大米!");
    }
}
